<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="taglib.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>header</title>
		<%@include file="common.jsp"%>
		<link rel="stylesheet" href="../../style/css/base.css" />
	</head>
	<body>
		<div class="header">
			<div class="header_top">
				<div class="fl city relative">
					<i class="city_name">北京</i><i class="change_city">[切换城市]</i>
					<div class="allcity"></div>
				</div>
				<nav class="fr">
					<span>
						<c:if test="${session_user !=null}"><a href="../login.do">${session_user.account}</a> | <a href="../logout.do">退出</a></c:if>
						<c:if test="${session_user ==null}"><a href="../login.do">登录</a> | <a href="../reg.do">免费注册</a></c:if>
					</span>
					<span><a href="../personal.html">个人中心</a></span>
					<span><a href="../shoppingcar.html">购物车</a></span>
					<span><a href="../collection.html">我的收藏</a></span>
					<span><a href="../aboutus.html">关于我们</a></span>
					<span><a href="../helpus.html">帮助我们</a></span>
				</nav>
			</div>
			<div class="header_middle">
				<a href="../index.html"><span class="logo fl"></span></a>
				<div class="search fr relative">
					<input type="text" />
					<span class="search_btn tc">搜索</span>
				</div>
			</div>
		</div>
	</body>
	<script>
		$(function(){
			$('.change_city').click(function(){
<<<<<<< HEAD
				$('.allcity').load('html/city.jsp').css({
=======
				$('.allcity').load('city.do').css({
>>>>>>> c0aa1588461ffc3043197375741b8aa29196b5b0
					"position": "absolute",
					"top": "15px",
					"left": "10px"
				});
			});
		})
	</script>
</html>
